package com.thinkit.bigdata.web.service.sys;

import com.thinkit.bigdata.web.model.result.HtmlResult;
import com.thinkit.bigdata.web.model.sys.SysApprovalConfigDto;
import com.thinkit.bigdata.web.model.sys.SysApprovalConfigExample;
import com.thinkit.bigdata.web.model.sys.SysApprovalConfigRel;
import com.thinkit.bigdata.web.model.sys.SysApprovalConfigSeach;

import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface SysApprovalConfigService {

    List<SysApprovalConfigRel> selectByCodeAndLine(String code, Long lineNumber);

    HtmlResult deleteByExample(SysApprovalConfigExample example);

    HtmlResult deleteByPrimaryKey(String ids);

    HtmlResult insertSelective(SysApprovalConfigDto dto) throws InvocationTargetException, IllegalAccessException;

    HtmlResult selectByExample(HttpServletRequest request);

    HtmlResult selectByExample(SysApprovalConfigSeach seach);

    HtmlResult selectByPrimaryKey(Long id);

    HtmlResult updateByPrimaryKey(SysApprovalConfigDto dto) throws InvocationTargetException, IllegalAccessException;
}
